<?php
/**
 * The Template for displaying all single posts.
 *
 * @package _s
 */

$post = $wp_query->post; 
//$article_type = get_post_meta($post->ID, "article_type" , true);
//if($article_type != "") {
//        include(TEMPLATEPATH . '/single-aside.php'); 
//} else {
    $good_gourl = get_post_meta($post->ID, "good_gourl" , true);
    if($good_gourl == "") {
            include(TEMPLATEPATH . '/single-aside.php'); 
    } else {
        $catid = get_option('shopcatid');
        $catid = explode(',',$catid);
        if ( in_category($catid) ) { 
            include(TEMPLATEPATH . '/single-shop.php'); 
        } 
        else {
            include(TEMPLATEPATH . '/single-good.php'); 
        }
    }
//}
?>